//*******************************************************************
// Geometry.java      Author: 20172330
//
// Demonstrates the use of an assignment statement to changge the 
// value stored in a variable
//*******************************************************************

public class Li26
{
   //----------------------------------------------------------------
   // Prints the number of sides of several geometric shapes.
   //----------------------------------------------------------------
   public static void main(String []args)
   {
      int sides = 7; // declaration with initialization
      System.out.println("A heptagon hass "+ sides +"sides.");

      sides = 10;  // assignment statement
      System.out.println("A decagon has " + sides +"sides.");

      sides = 12;
      System.out.println("A dodecagon has " + sides +" sides.");
   }
}
